package com.dobest.base.des;

import com.dobest.utils.DesUtils;
import org.junit.jupiter.api.Test;

/**
 * @author huangy
 * @description
 * @since 2023/1/5 11:10
 **/
public class DesTest {

    @Test
    public void test() {
        String desStr = DesUtils.sha256("goblin_cfg_serv");
        String desStr1 = DesUtils.sha256("goblin_friend_serv");
        System.out.println(desStr1.substring(0, 16).toUpperCase());
    }

}
